package conference.model;

import conference.controller.ServerSideTCP;

/**
 * An extention of the Client, but with a reference to the client's thread.
 * Used only by the server
 * @author samsjo-8
 *
 */
public class ClientWithThread extends Client{
	ServerSideTCP thread;
	
	public ClientWithThread(String ipAddr,String nick, ServerSideTCP thread) {
		super(ipAddr, nick);
		this.thread = thread;
	}
	
/**
* @return the thread
*/
	public ServerSideTCP getThread(){
		return thread;
	}

}
